package com.gome.axwl.aoc.dao;


import com.gome.axwl.aoc.entity.po.AppVersionPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppVersionDao{

    int deleteByPrimaryKey(Integer id);

    int insert(AppVersionPo appVersionPo);

    int insertSelective(AppVersionPo appVersionPo);

    AppVersionPo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AppVersionPo appVersionPo);

    int updateByPrimaryKey(AppVersionPo appVersionPo);

    List<AppVersionPo> getAll();

    Long checkVersionIsExist(AppVersionPo appVersionPo);

    List<AppVersionPo> getBiggerVersion(@Param("versionSystemType")String versionSystemType, @Param("versionCode") Integer versionCode, @Param("versionStatus") String versionStatus);

}